package cn.edu.ncut.cs.springboot.mybatisplusemployee.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ncut
 * @since 2024-12-24
 */
@Getter
@Setter
@TableName("employees")
public class Employees implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer number;

    private String name;

    private String department;

    private String position;

    private LocalDate birthday;

    private String sex;

    private Integer salary;
}
